package domain

import "time"

type Comment struct {
	Id int64
	// 评论者
	Commentator Commentator `json:"commentator"`

	Biz     string
	BizId   int64
	Content string

	// 顶级评论
	RootComment *Comment
	// 父评论
	ParentComment *Comment
	Children      []Comment
	CTime         time.Time `json:"ctime"`
}
type Commentator struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}
